do not clean vendor directory on distclean
authorSascha Steinbiss <satta@debian.org>
Thu, 6 Nov 2025 16:36:49 +0000 (17:36 +0100)
committerAndreas Dolp <dev@andreas-dolp.de>
Thu, 6 Nov 2025 16:36:49 +0000 (17:36 +0100)
Last-Update: 2025-07-11

dh_auto_clean calls make distclean, which in the case of Suricata also
removes the vendor directory. This breaks repeated builds.

Gbp-Pq: Name fix-repeated-builds.patch

rust/Makefile.am

index 7bb37c6050590833d7627056d40aaa50e52e36ec..9b0a2a1a8c63fd9ad3efa07b8fada2f1e294e94d 100644 (file)
@@ -103,7 +103,7 @@ clean-local:
        rm -rf target gen
 
 distclean-local:
-       rm -rf vendor dist
+       rm -rf dist
 
 check-bindgen-bindings:
 if HAVE_BINDGEN